﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Fjaspx.UI.Web;

namespace Fjaspx.UCenter
{
    public partial class _logout : UserPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string MexBoxContent = Fjaspx.Common.SystemCms.Read_File(Server.MapPath("~/App_Templet/SystemTemplate/MexBox.htm"), "utf-8");
                Fjaspx.Common.Session.Del("user_id");
                MexBoxContent = MexBoxContent.Replace("{$IndexPage}", ___WebConfig.web_host);
                MexBoxContent = MexBoxContent.Replace("{$message}", "注销成功！");
                Response.Write(MexBoxContent);
            }
        }
    }
}
